package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWithdrawLog;
import com.zb.result.PageUtil;
import com.zb.vo.WithdrawLogVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 提现操作日志表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-05-27
 */
public interface ZjWithdrawLogService extends IService<ZjWithdrawLog> {
    /**
     * 保存提现日志
     * @param applyEmpType 提现申请人类型：1-系统客服，2-服务商
     * @param withdrawLogVo
     */
    void save(Integer applyEmpType, WithdrawLogVo withdrawLogVo);

    /**
     * 保存提现日志
     * @param applyEmpType 提现申请人类型：1-系统客服，2-服务商
     * @param withdrawLogVos
     */
    void save(Integer applyEmpType, List<WithdrawLogVo> withdrawLogVos);

    /**
     * 根据提现单ID获取操作日志
     * @param withdrawId 提现单ID
     * @param pageUtil 分页对象
     * @return
     */
    Map<String, Object> getWithdrawLogList(Long withdrawId, PageUtil pageUtil);
}
